Skip to content

feat: emit Eyes boot manifest at startup#138

Merged
byte-the-bot merged 1 commit into
mainfrom
wire/send-boot-manifest
Jul 19, 2026
Merged

feat: emit Eyes boot manifest at startup#138
byte-the-bot merged 1 commit into
mainfrom
wire/send-boot-manifest

Conversation

@byte-the-bot

Copy link
Copy Markdown
Collaborator

What

Emits the Eyes boot manifest once at app startup by calling cja::eyes_manifest::send_boot_manifest::<jobs::Jobs, AppState>(...) in spawn_application_tasks, after the job and cron registries are constructed. It reports the app version (CARGO_PKG_VERSION), git SHA (VERGEN_GIT_SHA, already wired via server/build.rs), and the full cron registry.

How

The cron registry was previously built privately inside cron::run_cron. It is now built once in spawn_application_tasks, passed by reference to the boot manifest, and then moved into run_cron (which now accepts the registry as a parameter). The registry is built unconditionally so the manifest reflects the full deployed shape even when CRON is disabled for this process.

Behavior

No-op unless EYES_ORG_ID/EYES_APP_ID are configured. cargo check and cargo clippy pass.

Part of EYES-2459e945.

🤖 Generated with Claude Code

Call cja::eyes_manifest::send_boot_manifest once at boot, after the job
and cron registries are constructed, so Eyes learns this app's deployed
job and cron shape.

The cron registry, previously built privately inside run_cron, is now
built once in spawn_application_tasks: it is passed by reference to the
boot manifest and then moved into run_cron (which now takes the registry
as a parameter). The registry is built unconditionally so the manifest
reflects the full deployed shape even when CRON is disabled for this
process.

This is a no-op unless EYES_ORG_ID/EYES_APP_ID are configured.

Part of EYES-2459e945.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@byte-the-bot
byte-the-bot merged commit 77a7ad6 into main Jul 19, 2026
6 checks passed
@byte-the-bot
byte-the-bot deleted the wire/send-boot-manifest branch July 19, 2026 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant